<?php
$this->breadcrumbs=array(
	'Participants'=>array('index'),
	$model->P_id=>array('view','id'=>$model->P_id),
	'Update',
);

if(Yii::app()->user->name=='admin')
{
	$this->menu=array(
	array('label'=>'List Participant', 'url'=>array('index')),
	//array('label'=>'Create Participant', 'url'=>array('create')),
	array('label'=>'Update Participant', 'url'=>array('update', 'id'=>$model->P_id)),
	array('label'=>'Delete Participant', 'url'=>'#', 'linkOptions'=>array('submit'=>array('delete','id'=>$model->P_id),'confirm'=>'Are you sure you want to delete this item?')),
	array('label'=>'Manage Participant', 'url'=>array('admin')),
	);
}
else 
{
	$this->menu=array(
	array('label'=>'Update Participant', 'url'=>array('update', 'id'=>$model->P_id)),
	);
}
?>

<h1>Update Participant <?php echo $model->P_id; ?></h1>

<?php echo $this->renderPartial('_form', array('model'=>$model)); ?>